package kr.hkit.powerjava.chapter04;

import java.util.Scanner;

public class programming01 {
	public static void main(String[] args) {
		
		final double mile = 1.609;
		double input;
		double result;
		
		Scanner sc = new Scanner(System.in);
		System.out.print("마일을 입력하시오:");
		input = sc.nextDouble();
		
		result = mile * input;
		
		System.out.println(input + "마일은 " + result + "킬로미터입니다.");
	}
}
